
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/baiMaZa.svg';
import {$homePageSvgComponentPropsInterface} from "../../interface";
import HomePage_SvgComponent from ".";

// 主页-白马匝道收费站svg组件

const HomePage_BaiMaZaSvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 1830
    const height = 912
    const cardList = [
        {
            name: "高压母线",
            top: 57,
            left: 115,
            key: "",
        },
        {
            name: "主供电源进线",
            top: 147,
            left: 287,
            key: "",
        },
        {
            name: "10kV电源进线-右",
            top: 147,
            left: 500,
            key: "",
        },
        {
            name: "计量柜",
            top: 147,
            left: 695,
            key: "",
            unit: "kV",
        },
        {
            name: "变压器-左",
            top: 147,
            left: 827,
            key: "",
        },
        {
            name: "变压器-右",
            top: 88,
            left: 1206,
            key: "",
        },
        {
            name: "低压母线",
            top: 143,
            left: 1544,
            key: "",
        },
        {
            name: "收费站办公楼APZ-2-1",
            top: 269,
            left: 118,
            key: "",
            direction: "Down"
        },
        {
            name: "收费站办公楼DDAL",
            top: 269,
            left: 252,
            key: "",
            direction: "Up"
        },
        {
            name: "收费站办公楼AP-cf",
            top: 269,
            left: 386,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1",
            top: 269,
            left: 520,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-1",
            top: 269,
            left: 654,
            key: "",
            direction: "Down"
        },
        {
            name: "柴发-CFSG",
            top: 269,
            left: 788,
            key: "",
            direction: "Up"
        },
        {
            name: "柴发CFAL",
            top: 269,
            left: 922,
            key: "",
            direction: "Down"
        },
        {
            name: "消防泵房-AC-SB",
            top: 269,
            left: 1056,
            key: "",
            direction: "Up"
        },
        {
            name: "收费棚-AL-1",
            top: 269,
            left: 1190,
            key: "",
            direction: "Down"
        },
        {
            name: "备用3-1",
            top: 269,
            left: 1324,
            key: "",
            direction: "Up"
        },
        {
            name: "消费泵房-XFB1-1",
            top: 269,
            left: 1458,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿",
            top: 269,
            left: 1592,
            key: "",
            direction: "Up"
        },
        {
            name: "收费站办公楼APZ-2",
            top: 490,
            left: 118,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2",
            top: 490,
            left: 252,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-2",
            top: 490,
            left: 386,
            key: "",
            direction: "Down"
        },
        {
            name: "配电房-BDAL-2",
            top: 490,
            left: 520,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-2",
            top: 490,
            left: 654,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-2",
            top: 490,
            left: 788,
            key: "",
            direction: "Up"
        },
        {
            name: "备用5-2",
            top: 490,
            left: 922,
            key: "",
            direction: "Down"
        },
        {
            name: "总图污水泵-Apws",
            top: 490,
            left: 1056,
            key: "",
            direction: "Up"
        },
        {
            name: "总图照明-Apjg",
            top: 490,
            left: 1190,
            key: "",
            direction: "Down"
        },
        {
            name: "备用6-2",
            top: 490,
            left: 1324,
            key: "",
            direction: "Up"
        },
        {
            name: "隧道管理处-AL-JK",
            top: 490,
            left: 1458,
            key: "",
            direction: "Down"
        },
        {
            name: "备用电源联络",
            top: 490,
            left: 1704,
            key: "",
            direction: "Up"
        },
        {
            name: "配电房-CFAL",
            top: 711,
            left: 118,
            key: "",
            direction: "Down"
        },
        {
            name: "收费广场照明",
            top: 711,
            left: 252,
            key: "",
            direction: "Up"
        },
        {
            name: "配电房-CFSG",
            top: 711,
            left: 386,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-3",
            top: 711,
            left: 520,
            key: "",
            direction: "Up"
        },
        {
            name: "消费泵房-XFB1-3",
            top: 711,
            left: 654,
            key: "",
            direction: "Down"
        },
        {
            name: "配电房-BDAL-3",
            top: 711,
            left: 788,
            key: "",
            direction: "Up"
        },
        {
            name: "监控专用",
            top: 711,
            left: 922,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-3",
            top: 711,
            left: 1056,
            key: "",
            direction: "Up"
        },
        {
            name: "收费",
            top: 711,
            left: 1190,
            key: "",
            direction: "Down"
        },
        {
            name: "收费棚-AL-3",
            top: 711,
            left: 1324,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-3",
            top: 711,
            left: 1458,
            key: "",
            direction: "Down"
        },
    ]
    const rowGeneratrixList = ["高压母线", "低压母线"]
    const row14List = ["变压器-右"]

    const dialogBoxList = [
        {
            name: "主供电源进线",
            top: 70,
            left: 374,
            key: "",
            direction: "Down"
        },
        {
            name: "变压器",
            top: 148,
            left: 1141,
            key: "",
            direction: "Up"
        },
        {
            name: "收费站办公楼APZ-2-1",
            top: 300,
            left: 106,
            key: "",
            direction: "Down"
        },
        {
            name: "收费站办公楼DDAL",
            top: 377,
            left: 239,
            key: "",
            direction: "Up"
        },
        {
            name: "收费站办公楼AP-cf",
            top: 300,
            left: 374,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-1",
            top: 377,
            left: 508,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-1",
            top: 300,
            left: 642,
            key: "",
            direction: "Down"
        },
        {
            name: "柴发-CFSG",
            top: 377,
            left: 775,
            key: "",
            direction: "Up"
        },
        {
            name: "柴发CFAL",
            top: 300,
            left: 909,
            key: "",
            direction: "Down"
        },
        {
            name: "消防泵房-AC-SB",
            top: 377,
            left: 1044,
            key: "",
            direction: "Up"
        },
        {
            name: "收费棚-AL-1",
            top: 300,
            left: 1178,
            key: "",
            direction: "Down"
        },
        {
            name: "备用3-1",
            top: 377,
            left: 1312,
            key: "",
            direction: "Up"
        },
        {
            name: "消费泵房-XFB1-1",
            top: 300,
            left: 1447,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿",
            top: 377,
            left: 1581,
            key: "",
            direction: "Up"
        },
        {
            name: "收费站办公楼APZ-2",
            top: 521,
            left: 106,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2",
            top: 598,
            left: 239,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-2",
            top: 521,
            left: 374,
            key: "",
            direction: "Down"
        },
        {
            name: "配电房-BDAL-2",
            top: 598,
            left: 508,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-2",
            top: 521,
            left: 642,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-2",
            top: 598,
            left: 775,
            key: "",
            direction: "Up"
        },
        {
            name: "备用5-2",
            top: 521,
            left: 909,
            key: "",
            direction: "Down"
        },
        {
            name: "总图污水泵-Apws",
            top: 598,
            left: 1044,
            key: "",
            direction: "Up"
        },
        {
            name: "总图照明-Apjg",
            top: 521,
            left: 1178,
            key: "",
            direction: "Down"
        },
        {
            name: "备用6-2",
            top: 598,
            left: 1312,
            key: "",
            direction: "Up"
        },
        {
            name: "隧道管理处-AL-JK",
            top: 521,
            left: 1447,
            key: "",
            direction: "Down"
        },
        {
            name: "备用电源联络",
            top: 542,
            left: 1689,
            key: "",
            direction: "Up"
        },
        {
            name: "配电房-CFAL",
            top: 742,
            left: 106,
            key: "",
            direction: "Down"
        },
        {
            name: "收费广场照明",
            top: 819,
            left: 239,
            key: "",
            direction: "Up"
        },
        {
            name: "配电房-CFSG",
            top: 742,
            left: 374,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-3",
            top: 819,
            left: 508,
            key: "",
            direction: "Up"
        },
        {
            name: "消费泵房-XFB1-3",
            top: 742,
            left: 642,
            key: "",
            direction: "Down"
        },
        {
            name: "配电房-BDAL-3",
            top: 819,
            left: 775,
            key: "",
            direction: "Up"
        },
        {
            name: "监控专用",
            top: 742,
            left: 909,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-3",
            top: 819,
            left: 1044,
            key: "",
            direction: "Up"
        },
        {
            name: "收费",
            top: 742,
            left: 1178,
            key: "",
            direction: "Down"
        },
        {
            name: "收费棚-AL-3",
            top: 819,
            left: 1312,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-3",
            top: 742,
            left: 1447,
            key: "",
            direction: "Down"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList={dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_BaiMaZaSvgComponent
